<?php

$dsn="mysql:host=localhost;dbname=1112";
$username="root";
$pwd="root";
$pdo= new PDO($dsn,$username,$pwd);
$pdo->exec('set names utf8');